﻿using System;
using AccessODBC;
using Persons;

namespace AccessODBC_Sample
{
    static class Program
    {
        static void Main()
        {
            var acc = new TestAccDB(Properties.Settings.Default.TestDatabaseODBCConnectionString);
            //acc.Query01();
            //acc.Query02();
            //acc.Query03();
            //acc.Query04();
            //acc.Query05();
            ////acc.Query06();
            ////acc.Query07();
            //acc.Query08();
            ////acc.Query09();
            acc.Query10();

            //acc.Query11("Керчь",
            //    new Person(0, "Евгений", "Фокин", 1, "", Gender.Male),
            //    new Person(0, "Августина", "Роменская", 2, "", Gender.Female),
            //    new Person(0, "Дима", "Кортнев", 3, "", Gender.Male));

            //acc.Query12("Керчь");

            Console.Write("\n\nEnter to exit...");
            Console.ReadLine();
        }
    }
}
